package de.axiscars;

/**
 * This class is used to create an object Car. It includes all attributes
 * that belong to a car, the default constructor and constructor.
 * 
 * @author Sabrina Schwarze
 * @author Ramiz Loki
 * @author Hendrik Bielefeld
 *
 */

public class Car {
	
    private int 		id;
    private Station		station;
    private String 		brand;
    private String 		model;
    private byte[]		photo;
    private String	 	type;
    private float 		price_per_day;
    private int			minimum_age;
    private int			number_seats;
    private int			number_doors;
    private String		gear_type;
    private String 		air_conditioner;
    private boolean  	state;

    
     // The default constructor is very important, because it
     // is always used by Axis2
    
     public Car() {
     }

     public Car(int id, Station station, String brand, String model, byte[] photo, String type, float price_per_day, 
    		 	int minimum_age, int number_seats, int number_doors, 
    		 	String gear_type, String air_conditioner, boolean state) {
        this.id 				= id;
        this.station			= station;
        this.brand 				= brand;
        this.model 				= model;
        this.photo 				= photo;
        this.type 				= type;
        this.price_per_day		= price_per_day;
        this.minimum_age 		= minimum_age;
        this.number_seats		= number_seats;
        this.number_doors 		= number_doors;
        this.gear_type 			= gear_type;
        this.air_conditioner 	= air_conditioner;
        this.state 				= state;
     }

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Station getStation() {
		return station;
	}

	public void setStation(Station station) {
		this.station = station;
	}

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public byte[] getPhoto() {
		return photo;
	}

	public void setPhoto(byte[] photo) {
		this.photo = photo;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public float getPrice_per_day() {
		return price_per_day;
	}

	public void setPrice_per_day(float price_per_day) {
		this.price_per_day = price_per_day;
	}

	public int getMinimum_age() {
		return minimum_age;
	}

	public void setMinimum_age(int minimum_age) {
		this.minimum_age = minimum_age;
	}

	public int getNumber_seats() {
		return number_seats;
	}

	public void setNumber_seats(int number_seats) {
		this.number_seats = number_seats;
	}

	public int getNumber_doors() {
		return number_doors;
	}

	public void setNumber_doors(int number_doors) {
		this.number_doors = number_doors;
	}

	public String getGear_type() {
		return gear_type;
	}

	public void setGear_type(String gear_type) {
		this.gear_type = gear_type;
	}

	public String getAir_conditioner() {
		return air_conditioner;
	}

	public void setAir_conditioner(String air_conditioner) {
		this.air_conditioner = air_conditioner;
	}

	public boolean isState() {
		return state;
	}

	public void setState(boolean state) {
		this.state = state;
	}

}
